﻿<%@ Page Language="C#" MasterPageFile="~/admin/Admin.master" AutoEventWireup="true" CodeFile="Themtintuc.aspx.cs" Inherits="admin_Themtintuc" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <form id="form1" runat="server">
    <table style="width:100%;">
        <tr>
            <td style="width: 172px">
                Tiêu đề</td>
            <td>
                <asp:TextBox ID="TextBox1" runat="server" Width="279px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 172px">
                Mô tả</td>
            <td>
                <asp:TextBox ID="TextBox2" runat="server" Width="279px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 172px">
                Chi Tiết</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 172px">
                Ngày Đăng</td>
            <td>
                <asp:Calendar ID="Calendar1" runat="server"></asp:Calendar>
                                            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 172px; height: 47px;">
                Hình Ảnh</td>
            <td style="height: 47px">
                <asp:FileUpload ID="FileUpload1" runat="server" Height="35px" Width="276px" />
            </td>
            <td style="height: 47px">
                </td>
        </tr>
        <tr>
            <td style="width: 172px; height: 23px; text-align: justify;">
              
                Nhân viên</td>
            <td style="height: 23px">
                <asp:DropDownList ID="DropDownList1" runat="server" 
                    DataSourceID="SqlDataSource1" DataTextField="TenNhanVien" 
                    DataValueField="TenNhanVien" Height="54px" Width="129px">
                </asp:DropDownList>
            </td>
            <td style="height: 23px">
                <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:maytinhxachtayConnectionString %>" 
                    SelectCommand="SELECT DISTINCT [TenNhanVien] FROM [TinTuc]">
                </asp:SqlDataSource>
            </td>
        </tr>
        <tr>
            <td style="width: 172px">
                <asp:Button ID="BtAdd" runat="server" Text="Add" Height="43px" Width="65px" 
                    onclick="BtAdd_Click" />
            </td>
            <td>
                <asp:Button ID="BtCan" runat="server" Text="Cancel" Height="41px" 
                    Width="68px" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    </form>
</asp:Content>

